package cn.jm.study;

public class select {
	
	private int a;
	
	private int selectText() {
		int i = 35;
		switch (i) {
		case 1:
			System.out.println("1");
			break;
		case 2:
			System.out.println("2");
			break;
		case 3:
			System.out.println("3");
			break;
		case 5:
			System.out.println("4");
			break;
		default:
			System.out.println("no");
		}
		return 0;
	}

	private void forTest() {
		int i;
		for (i = 0; i < 100; i++) {
			System.out.println(i);
		}
	}

	private void whileTest() {
		int i;
		i = 0;
		while (i < 100) {
			System.out.println(i);
			i++;
		}
	}
	
	public void setA(int a) {
		this.a =a;
	}
}
